from enum import Enum


# 枚举类 主要是返回接口的提示封装
class StatusCode(Enum):
    SUCCESS = 200
    WARNING = 400
    ERROR = 500


class MessageType(Enum):
    SUCCESS = '成功'
    WARNING = '警告'
    ERROR = '错误'


